package com.chenxin.interact.domain.dto;

import com.chenxin.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class SmtTakeSuccessDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "出库单号")
    private String orderNo;

    @Excel(name = "出库单类型")
    private String type;

    @Excel(name = "出库类型（0：正常出库；1：强制出库）")
    private Integer outType;

    @Excel(name = "创建者")
    private String creator;

    @Excel(name = "物料唯一码（如果是容器就是容器编码）")
    private String reelId;

    @Excel(name = "料号")
    @JsonProperty("PN")     // 明确指定接收JSON字段名
    private String PN;

    @Excel(name = "仓编码")
    private String towerNo;

    @Excel(name = "巷道")
    private String side;

    @Excel(name = "库位编码")
    private String positionCode;

    @Excel(name = "数量")
    private int qty;

    private Long userId;
}
